home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dictionaries-common.prerm < prev    next >
Text File  |  2009-05-15  |  829b  |  36 lines

  1. #! /bin/sh
  2. # prerm script for dictionaries-common
  3. # Written by Rafael Laboissiere <rafael@debian.org> on 
  4. # Mon Oct 18 16:17:08 CEST 1999
  5.  
  6. set -e
  7.  
  8. case "$1" in
  9.     remove|deconfigure)
  10.     rm -f /etc/dictionaries-common/default.aff \
  11.         /etc/dictionaries-common/default.hash \
  12.         /etc/dictionaries-common/words \
  13.         /etc/dictionaries-common/ispell-default
  14.     rm -f /var/cache/dictionaries-common/*
  15.     if [ -L /usr/dict ]; then
  16.         rm /usr/dict
  17.     fi
  18.     ;;
  19.     
  20.     upgrade) ;;
  21.     
  22.     *)
  23.     echo "prerm called with unknown argument \`$1'" >&2
  24.     exit 0
  25.     
  26. esac
  27.  
  28. # Verifying that there are emacsen installed before calling emacs-package-remove
  29. if [ -x /usr/lib/emacsen-common/emacs-package-remove ] && [ -e /var/lib/emacsen-common/installed-flavors ]; then
  30.     /usr/lib/emacsen-common/emacs-package-remove dictionaries-common
  31. fi
  32.  
  33.  
  34.  
  35. exit 0
  36.